﻿namespace EyeSoft.Accounting.Italian.Test
{
	using EyeSoft.Accounting.Italian.Test.Helpers;

	using Microsoft.VisualStudio.TestTools.UnitTesting;

	using SharpTestsEx;

	[TestClass]
	public class FiscalCodeTest
	{
		[TestMethod]
		public void ValidateMaleFiscalCodeIsCorrect()
		{
			var fiscalCode = new RevertFiscalCode(Known.FiscalCodes.MaleCode);
			fiscalCode.IsValid.Should().Be.True();
		}

		[TestMethod]
		public void ValidateFemaleFiscalCodeIsCorrect()
		{
			var fiscalCode = new RevertFiscalCode(Known.FiscalCodes.FemaleCode);
			fiscalCode.IsValid.Should().Be.True();
		}
	}
}
